package com.hanserwei.han_picture.domain.request.spaceuser;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 添加空间成员请求
 * 向团队空间添加成员
 */
@Data
public class SpaceUserAddRequest implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 空间 ID
     */
    @Schema(description = "空间 ID")
    private Long spaceId;
    /**
     * 用户 ID
     */
    @Schema(description = "用户 ID")
    private Long userId;
    /**
     * 空间角色: viewer/editor/admin
     */
    @Schema(description = "空间角色: viewer/editor/admin")
    private String spaceRole;
}